package com.apps.config;

import com.apps.sconfig.SDevFastConfig;
import com.apps.sconfig.enums.LockType;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableAutoConfiguration
public class DevFastConfig {

    @Bean
    public SDevFastConfig getDevFastConfig()
    {
        SDevFastConfig devFastConfig=new SDevFastConfig();
        devFastConfig.setLockType(LockType.REDISSON);
        return devFastConfig;
    }
}
